package com.hkts.naturalgas.alarminformation.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yck
 * @since 2020-09-11
 */
public class NaturalgasEquipment extends Model<NaturalgasEquipment> {

private static final long serialVersionUID=1L;

                            private String id;
        private String createBy;
        private LocalDateTime createTime;
        private Integer delFlag;
        private String updateBy;
        private LocalDateTime updateTime;
        private String equipmentName;
        private Integer equipmentNum;
        private String equipmentState;
        private String gateStationId;
        private String equipmentId;
        private String siteArea;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getCreateBy(){
            return createBy;
            }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
            }

    public LocalDateTime getCreateTime(){
            return createTime;
            }

        public void setCreateTime(LocalDateTime createTime) {
            this.createTime = createTime;
            }

    public Integer getDelFlag(){
            return delFlag;
            }

        public void setDelFlag(Integer delFlag) {
            this.delFlag = delFlag;
            }

    public String getUpdateBy(){
            return updateBy;
            }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
            }

    public LocalDateTime getUpdateTime(){
            return updateTime;
            }

        public void setUpdateTime(LocalDateTime updateTime) {
            this.updateTime = updateTime;
            }

    public String getEquipmentName(){
            return equipmentName;
            }

        public void setEquipmentName(String equipmentName) {
            this.equipmentName = equipmentName;
            }

    public Integer getEquipmentNum(){
            return equipmentNum;
            }

        public void setEquipmentNum(Integer equipmentNum) {
            this.equipmentNum = equipmentNum;
            }

    public String getEquipmentState(){
            return equipmentState;
            }

        public void setEquipmentState(String equipmentState) {
            this.equipmentState = equipmentState;
            }

    public String getGateStationId(){
            return gateStationId;
            }

        public void setGateStationId(String gateStationId) {
            this.gateStationId = gateStationId;
            }

    public String getEquipmentId(){
            return equipmentId;
            }

        public void setEquipmentId(String equipmentId) {
            this.equipmentId = equipmentId;
            }

    public String getSiteArea(){
            return siteArea;
            }

        public void setSiteArea(String siteArea) {
            this.siteArea = siteArea;
            }

    public static final String ID ="id";

    public static final String CREATE_BY ="create_by";

    public static final String CREATE_TIME ="create_time";

    public static final String DEL_FLAG ="del_flag";

    public static final String UPDATE_BY ="update_by";

    public static final String UPDATE_TIME ="update_time";

    public static final String EQUIPMENT_NAME ="equipment_name";

    public static final String EQUIPMENT_NUM ="equipment_num";

    public static final String EQUIPMENT_STATE ="equipment_state";

    public static final String GATE_STATION_ID ="gate_station_id";

    public static final String EQUIPMENT_ID ="equipment_id";

    public static final String SITE_AREA ="site_area";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "NaturalgasEquipment{" +
                ", id=" + id +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", equipmentName=" + equipmentName +
                ", equipmentNum=" + equipmentNum +
                ", equipmentState=" + equipmentState +
                ", gateStationId=" + gateStationId +
                ", equipmentId=" + equipmentId +
                ", siteArea=" + siteArea +
        "}";
        }
        }
